package paws.core 

import Protocols.{Value => Protocol}

// TODO: This may need  more data fields
case class Message(src:Node, dst:Node, proto:Protocol, time: Long, id: Int) {  
  var power = 0.0 
  var delay = 0.0
  var reliability = 0.0
  override def toString = "(" + src.getID + "->"  + dst.getID + ")[" + id + " @ " + time + "]"
}

case class Data(
  timestamp: Long,
  power: Double,
  reliability: Double,
  delay: Double
)

object FakeMessage
object FinishedMsgs

object ExitNode
object NodeExited

case class Tick(time: Long)
case class Tock(time: Long)


